package college.constants;

import java.util.HashMap;
import java.util.Map;


public class Constants {
	public static final String SAVED_SUCCESSFULLY = " Saved Successfully";
	public static final String SAVE_ERROR = " Error ocuured while trying to save in DB";
	public static final String CONST = " Constant ";
	public static final String[] headings = {"S.No","Hallticket No","Name","Attendance","Parent Mobile" };
	public static final String ABSENT = "A";
	public static final String ALL = "ALL";
	public static final String N = "N";
	public static final int STUDENT_EXCEL_HTNO = 1;
	public static final int STUDENT_EXCEL_NAME = 2;
	public static final int STUDENT_EXCEL_BRANCH = 3;
	public static final int STUDENT_EXCEL_YEAR = 4;
	public static final int STUDENT_EXCEL_SEM = 5;
	public static final int STUDENT_EXCEL_SECTION = 6;
	public static final int STUDENT_EXCEL_MOBILE = 7;
	public static final int STUDENT_EXCEL_EMAIL = 8;
	public static final int STUDENT_EXCEL_FATHERNAME = 9;
	public static final int STUDENT_EXCEL_PARENTMOBILE1 = 10;
	public static final int STUDENT_EXCEL_PARENTMOBILE2 = 11;
	public static final int STUDENT_EXCEL_ADDRESS = 12;
	public static final Map<String, Integer> YEAR_MAP; 
	static {
		YEAR_MAP= new HashMap<String, Integer>();
		YEAR_MAP.put("I", 1);
		YEAR_MAP.put("II", 2);
		YEAR_MAP.put("III", 3);
		YEAR_MAP.put("IV", 4);
	
		
	}
	
}